]> dgit.raspbian.org Git - gnome-shell.git/commit
st/scroll-view-fade: Don't assume fade area at (0,0)
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 14 Jan 2021 15:58:20 +0000 (16:58 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 14 Jan 2021 16:28:01 +0000 (17:28 +0100)
commit5d65a424a8eecc3ffc88d028db71cd9f8bd9158c
tree13b0b28d6cff5db3cbc21a313b82076537296f41
parentecf5e3d3eee17eb9d77497b95503a33869baa66e
st/scroll-view-fade: Don't assume fade area at (0,0)

The shader code currently only accounts for padding for the
bottom and right fades, but not for top and left.

As a result, we only fade the right edge when swiping through app
picker pages, whoops.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1569>
src/st/st-scroll-view-fade.glsl